<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('Report/index')}">充值记录</a></li>
        <li><a href="{:U('Report/retrieval')}">订单统计</a></li>
        <li><a href="{:U('Report/finance')}">放款统计</a></li>
        <li><a href="{:U('Report/member')}">会员统计</a></li>
        <li class="active"><a>下款统计</a></li>
    </ul>
    <form class="well form-search" method="post" action="{:U('Report/loan_census')}">
        放款时间：<input class="js-date" type="text" name="starts" style="width: 200px;" value="{:I('request.starts',date('Y-m-d'))}" placeholder="起始时间">
        <input class="js-date" type="text" name="ends" style="width: 200px;" value="{:I('request.ends',date('Y-m-d'))}" placeholder="结束时间">
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="">清空</a>
    </form>
    <form method="post" class="js-ajax-form">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th align="center">角色</th>
                <th>人数(单位：个)</th>
                <th>总放款次数(单位：次)</th>
                <th>初次借款次数(单位：次)</th>
                <th>续借次数(单位：次)</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
                    <td align="center">{$vo.juese}</td>
                    <td>{$vo.people_nums}</td>
                    <td>{$vo.count}</td>
                    <td>{$vo.chuci_count}</td>
                    <td>{$vo.xujie_count}</td>
                </tr>
            </foreach>
            </tbody>
        </table>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>